package com.wangtianxiang.sxp.module.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangtianxiang.sxp.po.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityMapper extends BaseMapper<Activity> {

    long actCount(@Param("type") Integer type);

    List<Activity> actList(@Param("type") Integer type,@Param("startIndex") long startIndex,@Param("pageSize") long pageSize);
}
